<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/10/26 0026
 * Time: 下午 4:05
 */
namespace app\admin\model;
use think\Model;
use think\Db;

class Member extends Model{
    public function _role()
    {
        $list = Db::name('role')->alias('m')
            ->field('role_id,role_name')
            ->select();
        return $list;
    }
}